package com.neulogistics.core.substation.api.application.query;

import com.neulogistics.core.substation.domain.model.valueobject.Address;
import com.neulogistics.core.substation.domain.model.valueobject.CourierInfo;
import com.neulogistics.core.substation.domain.model.valueobject.CustomInfo;
import com.neulogistics.core.substation.domain.model.valueobject.OrderItem;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Positive;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class SubstationPaymentQuery implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 当前页号
     */
    @Positive(message = "当前页数非法！")
    public long pageNum = 1;

    /**
     * 页面大小
     */
    @Positive
    @Max(value = 20, message = "请求数据过多！")
    public long pageSize = 10;


    /**
     * 缴款单id
     */
    public Long paymentId;

    /**
     * 缴款单类型：0:收款；1:退款
     */
    public Integer paymentType;

    /**
     * 所属分站id
     */
    public Integer substationId;

    /**
     * 对应任务单id
     */
    public Long taskId;
}
